package com.example.administrator.daydayappmarket.game.fragment.fragments.choiceness.bean;

import org.json.JSONException;
import org.json.JSONObject;

/**
 * Created by 郎志奇 on 2016/12/26.
 */

public class GameChoiceMainInfo extends GameChoiceMainInfoParent{

    private String theme_type;

    private String name;

    private String reviews;

    private String icon_url;

    private String download_count;

    private String id;

    private String package_size;

    public void parseJson(JSONObject jsonObject) throws JSONException{

        if (jsonObject != null) {

            name=jsonObject.getString("name");
            reviews=jsonObject.getString("reviews");
            icon_url=jsonObject.getString("icon_url");
            download_count=jsonObject.getString("download_count");
            id=jsonObject.getString("id");
            package_size=jsonObject.getString("package_size");
            theme_type="apps";
        }

    }

    public String getName() {
        return name;
    }

    public String getReviews() {
        return reviews;
    }

    public String getIcon_url() {
        return icon_url;
    }

    public String getDownload_count() {
        return download_count;
    }

    public String getId() {
        return id;
    }

    public String getPackage_size() {
        return package_size;
    }

    public String getTheme_type() {
        return theme_type;
    }
}
